package com.yidu.t279.pojo;

import com.google.gson.Gson;

import java.util.List;

/**
 * (Place)表实体类
 *
 * @author Mr.Wang
 * @version 1.0
 * @since 2020/4/24 13:10
 */
public class Place {


    private Integer id;

    
    private String name;

    
    private Integer pid;

    
    private Integer level;


    private List<PlaceMoney> placeMonies ;

    public List<PlaceMoney> getPlaceMonies() {
        return placeMonies;
    }

    public void setPlaceMonies(List<PlaceMoney> placeMonies) {
        this.placeMonies = placeMonies;
    }

    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getPid() {
        return pid;
    }
    public void setPid(Integer pid) {
        this.pid = pid;
    }
    public Integer getLevel() {
        return level;
    }
    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}